home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10657 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  948 b 

  1. Path: rcp6.elan.af.mil!rscernix!danpop
  2. From: danpop@mail.cern.ch (Dan Pop)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: variable-lenght argument list
  5. Date: 15 Mar 96 23:08:18 GMT
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <danpop.826931298@rscernix>
  8. References: <4icl0o$b3j@saturn.exodus.net>
  9. NNTP-Posting-Host: ues5.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11.  
  12. In <4icl0o$b3j@saturn.exodus.net> Austin Ju <jun@pixera.com> writes:
  13.  
  14. >Is there any way we may call a function with varable-length
  15. >argument list within another function also with varable-
  16. >length argument list, so that the argument list inside is 
  17. >just the same as the outside's:
  18. >
  19. >e.g.
  20. >  void func1(int a, ...); 
  21. >  
  22. >  void func2(int b, ...) {
  23. >
  24. >    .............
  25. >    func1(b, ...); // the same argument list as from func2
  26. >  }
  27.  
  28. No.
  29.  
  30. Dan
  31. --
  32. Dan Pop
  33. CERN, CN Division
  34. Email: danpop@mail.cern.ch 
  35. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  36.